package connector.rmiServer;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

public interface ServerService extends Remote{
	
	public void sendMessage(String message) throws RemoteException;
	public void registerClient(CentralClient client) throws RemoteException;
	public void registerClient(TaxaClient client) throws RemoteException;
	public void placeOrder(String address, String city, String zip, String phone, long time) throws RemoteException;
	public void sendTaxaInfo(int taxaID,int driverID,String status,long time, float latitude, float longtitude) throws RemoteException;
	public List<Float> getStatistics(int weeks,long chosenDate,int zipCodeFrom,int zipCodeTo)throws RemoteException;
}
